	<div class="main">

		<form id="abc" action="<?php echo URL;?>SendMail/send_email" method="post" accept-charset="utf-8">
			<input type="text" name="email" />
			<input type="submit" name ="submit" />
		</form>

		<script type="text/javascript">

		$(document).ready(function() {
			$('#abc').submit(function(event) {
				
				var url = $(this).attr('action');
				var data = $(this).serializeObject();

				$.post(url, data, function(o) {
					console.log(o);
				}).fail(function(jqXHR, textStatus, errorThrown){
					//fail
					console.log(errorThrown);
				});

				return false;
			});
		});


		</script>

	</div> <!-- end main -->
